// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ValidatorAttribute.cs" company="">
//   
// </copyright>
// <summary>
//   The validator attribute.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Skymate.Runtime.Validation
{
    using System;

    /// <summary>
    ///     The validator attribute.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class ValidatorAttribute : Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ValidatorAttribute"/> class.
        /// </summary>
        /// <param name="name">
        /// The name.
        /// </param>
        public ValidatorAttribute(string name)
        {
            this.Name = name;
        }

        /// <summary>
        ///     Gets or sets the name.
        /// </summary>
        public string Name { get; set; }
    }
}